package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Map;

/**
 * @Description 蜀山弟子招收日志
 * @Author cwq
 * @Data 2022/3/26 18:18
 */
@FieldTypeAnnotation(tableName = "t_l_activity_shushan_get_disciple")
public class LogShuShanGetDisciple {

    @FieldTypeAnnotation(desc = "活动id")
    private long activityId;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "山门等级")
    private int level;
    @FieldTypeAnnotation(desc = "index")
    private long id;
    @FieldTypeAnnotation(desc = "弟子名称")
    private String name;
    @FieldTypeAnnotation(desc = "资质")
    private int quality;
    @FieldTypeAnnotation(desc = "总仙力")
    private long totalValue;
    @FieldTypeAnnotation(desc = "弟子初始仙力情况")
    private Map<Integer, Integer> propertiesInfoMap;
    @FieldTypeAnnotation(desc = "是否招收")
    private boolean isGet;
    @FieldTypeAnnotation(desc = "时间 ms")
    private long time;

    public LogShuShanGetDisciple(long activityId, long userId, int level, long id, String name, int quality, long totalValue, Map<Integer, Integer> propertiesInfoMap, boolean isGet, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.level = level;
        this.id = id;
        this.name = name;
        this.quality = quality;
        this.totalValue = totalValue;
        this.propertiesInfoMap = propertiesInfoMap;
        this.isGet = isGet;
        this.time = time;
    }

    public long getActivityId() {
        return activityId;
    }

    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public long getTotalValue() {
        return totalValue;
    }

    public void setTotalValue(long totalValue) {
        this.totalValue = totalValue;
    }

    public Map<Integer, Integer> getPropertiesInfoMap() {
        return propertiesInfoMap;
    }

    public void setPropertiesInfoMap(Map<Integer, Integer> propertiesInfoMap) {
        this.propertiesInfoMap = propertiesInfoMap;
    }

    public boolean isGet() {
        return isGet;
    }

    public void setGet(boolean get) {
        isGet = get;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
